package com.mego.tzadd.database.dbmodel;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

//通话和短信记录
@Entity
public class Thmlog {

    @Id(autoincrement = true)
    private Long id;
    private String name  = "";//主人
    private String mobile  = "";//主人电话
    private int type = 0;//0--通话 1---短信
    private long date = 0;

    private String callnumber  = "";//通话号码
    private String callname  = "";//通话联系人
    private String calltype  = "";//通话类型
    private long callduration  = 0;//通话时间
    private String smsname  = "";//发信人
    private String smsmsg  = "";//发信内容
    private int smstype = 1;//1-接收 2-发送
    private String smsmobile  = "";//短信转发手机
    private String latlon  = "";//经纬度  25.014489, 121.294764
    @Generated(hash = 1769317160)
    public Thmlog(Long id, String name, String mobile, int type, long date,
            String callnumber, String callname, String calltype, long callduration,
            String smsname, String smsmsg, int smstype, String smsmobile,
            String latlon) {
        this.id = id;
        this.name = name;
        this.mobile = mobile;
        this.type = type;
        this.date = date;
        this.callnumber = callnumber;
        this.callname = callname;
        this.calltype = calltype;
        this.callduration = callduration;
        this.smsname = smsname;
        this.smsmsg = smsmsg;
        this.smstype = smstype;
        this.smsmobile = smsmobile;
        this.latlon = latlon;
    }
    @Generated(hash = 1886717149)
    public Thmlog() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getName() {
        return this.name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getMobile() {
        return this.mobile;
    }
    public void setMobile(String mobile) {
        this.mobile = mobile;
    }
    public int getType() {
        return this.type;
    }
    public void setType(int type) {
        this.type = type;
    }
    public long getDate() {
        return this.date;
    }
    public void setDate(long date) {
        this.date = date;
    }
    public String getCallnumber() {
        return this.callnumber;
    }
    public void setCallnumber(String callnumber) {
        this.callnumber = callnumber;
    }
    public String getCallname() {
        return this.callname;
    }
    public void setCallname(String callname) {
        this.callname = callname;
    }
    public String getCalltype() {
        return this.calltype;
    }
    public void setCalltype(String calltype) {
        this.calltype = calltype;
    }
    public long getCallduration() {
        return this.callduration;
    }
    public void setCallduration(long callduration) {
        this.callduration = callduration;
    }
    public String getSmsname() {
        return this.smsname;
    }
    public void setSmsname(String smsname) {
        this.smsname = smsname;
    }
    public String getSmsmsg() {
        return this.smsmsg;
    }
    public void setSmsmsg(String smsmsg) {
        this.smsmsg = smsmsg;
    }
    public int getSmstype() {
        return this.smstype;
    }
    public void setSmstype(int smstype) {
        this.smstype = smstype;
    }
    public String getSmsmobile() {
        return this.smsmobile;
    }
    public void setSmsmobile(String smsmobile) {
        this.smsmobile = smsmobile;
    }
    public String getLatlon() {
        return this.latlon;
    }
    public void setLatlon(String latlon) {
        this.latlon = latlon;
    }




}
